package com.auxgroup.smarthome.qcloud.bean;

/**
 * Created by Toby Lai on 2017/5/12.
 */
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

@ApiModel(value = "上传文件之后的返回实体")
public class FileModel implements Serializable {
    @ApiModelProperty(value = "文件上传之后的名称")
    private String name;

    @ApiModelProperty(value = "上传文件大小")
    private long size;

    @ApiModelProperty(value = "上传文件成功返回的url")
    private String path;

    @ApiModelProperty(value = "上传的文件类型")
    private String type;

    /**
     * @return the path
     */
    public String getPath() {
        return path;
    }

    /**
     * @param path the path to set
     */
    public void setPath(String path) {
        this.path = path;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the size
     */
    public long getSize() {
        return size;
    }

    /**
     * @param size the size to set
     */
    public void setSize(long size) {
        this.size = size;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


}